TAGs: understand written documents